package com.study.demoaopacl.anno;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AccCheck {
    String value() default "";

    @AliasFor("value")
    String targetObject() default "";

    String permission() default "READ";

    String method() default "";

    String[] parameters() default "";
}
